package com.ruoyi.tianliangedu.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 专题增加对象 tianliang_subject
 *
 * @author lsj
 * @date 2021-07-12
 */
public class TianliangSubject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 专题ID
     */
    private Integer subId;

    /**
     * 专题名字
     */
    @Excel(name = "专题名字")
    private String subName;

    /**
     * 专题描述
     */
    @Excel(name = "专题描述")
    private String subDescribe;

    /**
     * 专题图
     */
    @Excel(name = "专题图")
    private String subImg;

    /**
     * 专题状态(0表示停用,1表示启用)
     */
    @Excel(name = "专题状态(0表示停用,1表示启用)")
    private Integer subState;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String subRemark;

    public Integer getSubId() {
        return subId;
    }

    public void setSubId(Integer subId) {
        this.subId = subId;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    public String getSubDescribe() {
        return subDescribe;
    }

    public void setSubDescribe(String subDescribe) {
        this.subDescribe = subDescribe;
    }

    public String getSubImg() {
        return subImg;
    }

    public void setSubImg(String subImg) {
        this.subImg = subImg;
    }

    public Integer getSubState() {
        return subState;
    }

    public void setSubState(Integer subState) {
        this.subState = subState;
    }

    public String getSubRemark() {
        return subRemark;
    }

    public void setSubRemark(String subRemark) {
        this.subRemark = subRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("subId", getSubId())
                .append("subName", getSubName())
                .append("subDescribe", getSubDescribe())
                .append("subImg", getSubImg())
                .append("subState", getSubState())
                .append("subRemark", getSubRemark())
                .toString();
    }
}
